package com.retrofit.demo.entity;

/**
 * desc:金山词霸
 * 2018-05-24 11:07
 */
public class JscbEntiy {
    // 请求返回状态，1-请求成功
    private int status;
    // 内容信息
    private Content content;

    private static  class Content{
        // 原文内容类型
        private String from;
        // 译文内容类型
        private String to;
        // 来源平台
        private String vendor;
        // 译文内容
        private String out;
        // 请求成功时取 0

        private int err_no;

        @Override
        public String toString() {
            return "Content{" +
                    "from='" + from + '\'' +
                    ", to='" + to + '\'' +
                    ", vendor='" + vendor + '\'' +
                    ", out='" + out + '\'' +
                    ", err_no=" + err_no +
                    '}';
        }
    }


    @Override
    public String toString() {
        return "JscbEntiy{" +
                "status=" + status +
                ", content=" + content +
                '}';
    }
}
